import request from '@/utils/request'

export function brandList(data) {
  return request({
    url: '/productcsy/product/brand/brandList',
    method: 'post',
    data: data
  })
}

export function addBrand(data) {
  return request({
    url: '/productcsy/product/brand/addBrand',
    method: 'post',
    data: data
  })
}

export function updateBrand(data) {
  return request({
    url: '/productcsy/product/brand/updateBrand',
    method: 'post',
    data: data
  })
}

export function delBrand(id) {
  return request({
    url: '/productcsy/product/brand/delBrand?id='+id,
    method: 'get'
  })
}


